<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href=<?php echo $this->baseUrl() . "/"; ?>css/centercontent.css>
        <link rel="stylesheet" href=<?php echo $this->baseUrl() . "/"; ?>css/detail.css>
    </head>
    <body style="">
        <div class="container">
            <div class="navbar">
                <div class="navbar-inner">
                    <div class="container">
                        <ul class="nav">
                            <div class="btn-group">
                                <a class="btn dropdown-menu" href ="<?php echo $this->baseUrl() . "/" ?>" style="font-weight: bold;"><i class="icon-home"></i> Trang chủ <span ></span></a>
                            </div>
                            <div class="btn-group">
                                <a data-toggle="dropdown" data-hover="dropdown" class="btn dropdown-toggle" style="font-weight: bold;"><i class="icon-ok"></i> Giới thiệu <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="<?php echo $this->baseUrl() . "/about" ?>">Về đề tài</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->baseUrl() . "/"; ?>contact">Về nhóm 08</a></li>
                                    <li class="divider"></li>
                                    <li><a href="#">Về môn học</a></li>
                                </ul>
                            </div>
                            <div class="btn-group">
                                <a  data-hover="dropdown" class="btn dropdown-toggle" style="font-weight: bold;"><i class="icon-gift "></i> Sản Phẩm <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="<?php echo $this->baseUrl() . "/"; ?>thiep">Thiệp</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->baseUrl() . "/"; ?>lich">Lịch</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->baseUrl() . "/"; ?>catalogue">Catalogue</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->baseUrl() . "/"; ?>namecard">Name card</a></li>
                                    <li class="divider"></li>
                                    <li><a href="<?php echo $this->baseUrl() . "/"; ?>toroi">Tờ rơi</a></li>
                                </ul>
                            </div>
                            <div class="btn-group">
                                <a class="btn" href ="<?php echo $this->baseUrl() . "/otherservices" ?>" style="font-weight: bold;"><i class="icon-list"></i> Dịch vụ khác</a>
                            </div>
                            <div class="btn-group">
                                <a class="btn" href ="<?php echo $this->baseUrl() . "/contact" ?>" style="font-weight: bold;"><i class="icon-user"></i> Liên hệ </a>
                            </div>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="navbar-inner">
                <article class="row">
                    <section class="span22">
                        <ul class="nav nav-list bg-list">
                            <li class="nav-header bg-menu-title" align="center"><h6 style="color: black;">Quản lý sản phẩm</h6></li>
                            <p><li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>thiep">Thiệp</a></li></p>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>lich">Lịch</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>catalogue">Catalogue</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>namecard">Name card</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>toroi">Tờ rơi</a></li>
                            <li class="divider"></li>
                            <li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>user">User</a></li>
                            <li class="nav-header bg-menu-title" align="center"><h6 style="color: black;">Hình ảnh!</h6></li>
                            <p><li class="active" ><a href="<?php echo $this->baseUrl() . "/admin/"; ?>anh">Danh mục ảnh</a></li></p>
                            <p><li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>upload">Upload ảnh</a></li></p>
                            <li class="nav-header bg-menu-title" align="center"><h6 style="color: black;">Khách hàng liên hệ</h6></li>
                            <p><li><a href="<?php echo $this->baseUrl() . "/admin/"; ?>lienhe">Chi tiết</a></li></p>
                        </ul>
                    </section>
                    <section class="span8">
                        <center>
                            <h3>Danh sách ảnh</h3>
                            <div>
                                <center><section class="span8">
                                        <?php
                                        if (!empty($this->files)) {
                                            foreach ($this->files as $k => $v) {
                                                ?>    
                                                <div class="item_product1">
                                                    <div class="images1"><a href="#"><img src="<?php echo $this->baseUrl() . "/"; ?>upload/image/<?php echo $v; ?>" border="0"></a></div>  
                                                    <div class="name"><a><?php echo $v ?></a></div> 
                                                </div>
                                                <?php
                                            }
                                            ?>

                                        </section></center>

                                    <section class="span8">
                                        <center>
                                            <?php
                                            echo $this->paginationControl($this->files, 'Sliding', 'paginator.phtml');
                                            ?>
                                        </center>
                                    </section>
                                </div>

                                <?php
                            } else {
                                echo 'No products';
                            }
                            ?>
                        </center>

                    </section>
                </article>
            </div>
        </div>
    </body>
</html>